Vue.config.devtools = true;
var v = new Vue({
    el:"#app",
    data:{

    },
    created:function (){
        // if(!checkLogin()){
        //     toLogin();
        //     return false
        // }
        // initRightBtn(false,true,false,true);
        // this.findConferInfo();
    },
    methods:{
        toCourseDetail(courseId) {
            window.location.href = "html/course-detail.html";
        },
        findConferInfo() {
            var that = this;
            var param = {
                "conferId": localStorage.getItem("conferId")
            }
            request.post('/mevosConference/wxa-dh/info', true, param).then(res => {
                if (res.code == 200) {
                    that.conferInfo = res.data;
                    $("meta[name='sharetitle']").attr("content", that.conferInfo.sharetitle);
                    $("meta[name='sharedesc']").attr("content", that.conferInfo.sharedes);
                    $("meta[name='sharepic']").attr("content", that.conferInfo.shareimgurl);
                }
            });
        }
    }
})
